/*
Theme Name: Astra Child
Template: astra
*/
        *, ::after,
        ::before {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
            background: white;
		
			 margin: 0;
            font-family: 'Josefin Sans', sans-serif;
        }

        /* main menu */
        .header {
            padding: 15px 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color: #008d00;
            width: 100%;
            position: fixed;
            top: 0;
            z-index: 999;
        }
img{
  width:80px;
 height:80px;
 }
		
         .header ul {
            display: flex;
            list-style: none;
        }

        .header ul li {
            margin-right: 30px;
        }

        .header ul li a {
            font-size: 17px;
            text-decoration: none;
            font-family: sans-serif;
            font-weight: 500;
            color: black;
        }

        .header .active::after {
            content: '';
            width: 50%;
            height: 3px;
            margin-left: 15px;
            display: flex;
            background-color: red;
            position: relative;
        }

        input {
            cursor: pointer;
            padding: 10px 20px;
            font-family: sans-serif;
            font-weight: 600;
        }

           .wrapper {
            width: 753px;
            padding: 35px;
            background: #fff;
            border-radius: 10px;
        }
.wrapper .input-field{
z-index: -999;
opacity: 0;
position: absolute;
}
        .wrapper .content-box {
            padding: 20px 20px 0;
            border-radius: 10px;
            border: 1px solid black;
        }

        .content-box .typing-text {
            max-height: 100%;
            overflow-y: auto;
        }

        .typing-text::-webkit-scrollbar {
            width: 0;
        }

        .typing-text p {
            font-size: 27px;
            text-align: justify;
            letter-spacing: 1px;
            word-break: break-all;
        }
        .typing-text p span {
            position: relative;
        }

        .typing-text p span.correct {
            color: blue;
        }

        .typing-text p span.incorrect {
            color: Green;
            outline: 1px solid #fff;
            border-radius: 4px;
        }

        .typing-text p span.active {
            color: Red;
        }

        .typing-text p span.active::before {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            height: 2px;
            width: 100%;
			opacity: 0;
            background: #17a2b8;
            animation: blink 1s ease-in-out infinite;
        }

        @keyframes blink {
            50% {
                opacity: 1;
            }
        }

        .content-box .content {
            display: flex;
            margin-top: 17px;
            padding: 12px 0;
            align-items: center;
            border-top: 1px solid #ccc;
            justify-content: space-between;
        }

        .content button {
            border: none;
            outline: none;
            width: 105px;
            padding: 8px 0;
            color: #fff;
            cursor: pointer;
            font-size: 16px;
            border-radius: 5px;
            background: #17a2b8;
            transition: transform 0.3s ease;
        }

        .content button:active {
            transform: scale(0.97);
        }

        .content .result-details {
            display: flex;
            margin: 17px;
            padding: 12px 0;
            justify-content: space-between;
            width: calc(100% - 140px);
        }

        .result-details li {
            height: 22px;
            display: flex;
            list-style: none;
            align-items: center;
        }

        .result-details li:not(:first-child) {
            padding-left: 22px;
            border-left: 1px solid #ccc;
        }

        .result-details li p {
            font-size: 19px;
        }

        .result-details li span {
            display: block;
            font-size: 20px;
            margin-left: 10px;
        }

        .result-details li:not(:first-child) span {
            font-weight: 500;
        }

        .result-details li b {
            font-weight: 500;
        }

        .time-select {
            margin-top: 10px;
        }